@media screen and (min-width: 361px) and (max-width: 413px) {
    .header {
        display: flex;
        justify-content: space-between;
        /* Space between logo and menu */
        align-items: center;
        padding: 10px 20px;
        position: relative;
    }

    .header a {
        text-decoration: none;
        transition: all 0.5s ease;
        display: inline-block;
    }

    .header #logo {
        width: 100px;
        transition: filter 0.3s ease;
    }

    .header #logo:hover {
        filter: brightness(0.7);
        cursor: crosshair;
    }

    .header #logo img {
        width: 100%;
        height: 75px;
    }

    #menu {
        display: none;
        /* Adjust width if necessary */
    }

    #mobile-menu {
        display: block;
    }

    /* Sidebar */
    #sidebar {
        position: fixed;
        right: -250px;
        top: 0;
        width: 250px;
        height: 100%;
        background-color: #568fa6;
        display: flex;
        flex-direction: column;
        padding-top: 20px;
        transition: right 0.3s ease-in-out;
        z-index: 999;
    }

    #sidebar a {
        color: white;
        padding: 10px;
        text-decoration: none;
        display: block;
    }

    #sidebar a:hover {
        background-color: #444;
        cursor: crosshair;
    }

    /* Sidebar Buttons */
    #menu-toggle {
        font-size: 24px;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
    }

    #menu-toggle img {
        height: 28px;
        width: 28px;
    }

    #close-sidebar {
        font-size: 24px;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        text-align: right;
        padding-right: 15px;
    }

    /* Dropdown in Sidebar */
    .sidebar-dropdown {
        display: flex;
        flex-direction: column;
        transition: all 0.3s ease;
    }

    .sidebar-dropdown a {
        transition: 0.3s;
    }

    .sidebar-dropbtn {
        background: none;
        border: none;
        color: white;
        text-align: left;
        padding: 10px;
        cursor: pointer;
        font-size: 19px;
        transition: all 0.3s ease;
    }

    .sidebar-dropdown-content {
        display: none;
        flex-direction: column;
        padding-left: 10px;
    }

    .sidebar-dropdown-content a {
        font-size: 19px;
    }

    .sidebar-dropdown-content hr {
        border: 0.5px solid #555;
        margin: 5px 0;
    }

    .sidebar-dropdown.active .sidebar-dropdown-content {
        display: flex;
    }

    /*Main Body*/

    #content-container {
        width: 80%;
        /* Adjust the width as necessary */
        margin: 0 auto;
        text-align: left;
        padding: 20px;
    }

    #content-container h1 {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 20px;
    }

    #content-container p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    #section-five {
        margin-top: 30px;
        width: 100%;
        text-align: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }

    /*Section Five*/
    .row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 20px;
        width: 98%;
    }

    .card {
        background-color: #f5f5f5;
        border-radius: 10px;
        padding: 20px;
        box-sizing: border-box;
        text-align: right;
    }

    .full-width-card {
        display: flex;
        justify-content: center;
        /* Space between logo and icons */
        width: 80%;
        /* Takes full width */
        align-items: center;
        /* Align items vertically */
    }

    .logo-container {
        display: none;
    }

    .logo-img {
        width: 100%;
        max-width: 200px;
        /* Adjust max width as needed */
        transition: filter 0.3s ease;
    }

    .logo-img:hover {
        filter: brightness(0.7);
        cursor: crosshair;
    }

    .icons-right {
        display: flex;
        justify-content: flex-end;
        /* Align icons to the right */
        gap: 0;
        /* Remove any gap between icons */
    }

    .icon-img {
        width: 50px;
        /* Adjust icon size */
        height: auto;
        margin-left: 5px;
        margin-right: 5px;
        /* Small space between icons */
        transition: filter 0.3s ease;
    }

    .icon-img:hover {
        filter: brightness(0.7);
        cursor: crosshair;
    }

    .icon-img:first-child {
        margin-left: 0;
        /* Remove margin from the first icon */
    }

    .second-row {
        display: flex;
        flex-direction: column;
        /* Stack the cards vertically */
        gap: 20px;
        align-items: center;
        /* Add space between the cards */
    }

    .second-row .card {
        width: 90%;
        /* Make each card take the full width */
        text-align: left;
    }

    .second-row .card h3 {
        margin-top: 0;
        color: #568fa6;
    }

    .second-row .card p {
        margin-bottom: 0;
    }

    .second-row .card a {
        display: block;
        margin-top: 10px;
        text-align: left;
        text-decoration: none;
    }

    .second-row .card a:hover {
        text-decoration: underline;
        cursor: crosshair;
    }

    .card p {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: 10px;
    }

    .card p img {
        flex-shrink: 0;
        height: 28px;
        width: 28px;
    }

    .card-links {
        color: black;
        font-weight: bold;
        transition: all 0.3s ease;
    }

    #footer {
        background-color: #eeeeee;
        color: #568fa6;
        text-align: center;
        padding: 10px;
        width: 100%;
        /* Use relative positioning for normal flow */
        bottom: 0;
    }
}